<?php
if(file_exists('config.php')) include('config.php');	
if(file_exists('../config.php')) include('../config.php');	
if(file_exists('../../config.php')) include('../../config.php');	

$cs = mysql_connect( $tennant_dbhost, $tennant_dbusername, $tennant_dbpass ) or die ( 'Can not connect to server' );

mysql_select_db ( $tennant_dbname, $cs ) or die ( 'Can not select database' );


$spl_char = array(" ", "&", "|", "~", "!", "@", "#", "$", "%", "^", "*", "(", ")", "+", "=", "{", "}", ":", ";","'",'"',"<",">","?","/",",","\\");
?>

